Skip to content

ci: skip TPU tests for docs-only changes#159

Merged
0xaskr merged 3 commits intomainfrom
ci/tpu-ignore-docs
Apr 7, 2026
Merged

ci: skip TPU tests for docs-only changes#159
0xaskr merged 3 commits intomainfrom
ci/tpu-ignore-docs

Conversation

@0xaskr
Copy link
Copy Markdown
Collaborator

@0xaskr 0xaskr commented Apr 5, 2026

Summary

  • TPU Tests 工作流添加 paths-ignore: ['docs/**'],当仅 docs/ 目录有变更时不再触发 TPU 测试,节省 CI 资源

Test plan

  • 验证仅修改 docs/ 下文件的 PR 不触发 TPU Tests
  • 验证修改非 docs/ 文件的 PR 仍正常触发 TPU Tests

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated CI/CD workflow configuration to skip TPU tests when only documentation files are modified, improving pipeline efficiency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7eadcbb8-41ef-4bb0-80d4-f658f55cc9a7

📥 Commits

Reviewing files that changed from the base of the PR and between 90ad718 and 5945093.

📒 Files selected for processing (1)
  • .github/workflows/tpu_tests.yml

📝 Walkthrough

Walkthrough

The GitHub Actions workflow configuration for tpu_tests.yml is updated to add a paths-ignore filter excluding documentation changes (docs/**) from triggering the workflow on both push and pull_request events. This prevents unnecessary test runs when only documentation files are modified.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/tpu_tests.yml
Added paths-ignore: - 'docs/**' filter to both push and pull_request trigger events to skip workflow execution when only documentation is changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 hop hop A rabbit adjusts the workflow gate,
Docs need not trigger tests—let them wait!
Now only code changes ring the bell,
Efficiency hops along quite well! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'ci: skip TPU tests for docs-only changes' directly and accurately describes the main change: adding paths-ignore filter to skip TPU tests for documentation-only changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/tpu-ignore-docs

Comment @coderabbitai help to get the list of available commands and usage tips.

@0xaskr 0xaskr added this pull request to the merge queue Apr 7, 2026
Merged via the queue into main with commit 3942b75 Apr 7, 2026
2 checks passed
@0xaskr 0xaskr deleted the ci/tpu-ignore-docs branch April 7, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant